package com.example.librarymanagement.dto.daily;

import com.example.librarymanagement.dto.PageDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * @author lzx
 */

@EqualsAndHashCode(callSuper = true)
@Data
public class BookBorrowListDto extends PageDto {

    @ApiModelProperty(value = "借书时间")
    private String borrowDate;

    @ApiModelProperty(value = "查询图书借阅还是期刊借阅（0为图书借阅，1为期刊借阅）")
    @NotNull(message = "操作对象不能为空")
    private Integer bookPeriodical;
}
